﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Services
{
	/// <summary>
	/// Service de gestion des coupons de reduction
	/// </summary>
	internal class VoidIncentiveService : IIncentiveService
	{
		public VoidIncentiveService()
		{
		}

		#region IIncentiveService Members

		public virtual IEnumerable<Models.BrokenRule> ValidateUse(Models.OrderCart cart, string couponCode, Models.UserPrincipal principal)
		{
			return null;
		}

		public virtual void AddCoupon(Models.OrderCart cart, string couponCode, Models.UserPrincipal principal)
		{
		}

		public virtual void RemoveCoupon(Models.OrderCart cart, string couponCode, Models.UserPrincipal principal)
		{

		}

		public virtual void LoadCouponList(Models.OrderCart cart)
		{
			// Do nothing
		}

		public virtual void Recalc(Models.OrderCart cart, Models.UserPrincipal principal)
		{
			// Do nothing
		}


		#endregion
	}
}
